<template>
  <a-result title="404" sub-title="页面似乎走丢了~~~">
    <template #icon>
      <FrownTwoTone />
    </template>
    <template #extra>
      <a-button type="primary" @click="backHome">返回主页</a-button>
    </template>
  </a-result>
</template>

<script setup lang="ts">
import { FrownTwoTone } from '@ant-design/icons-vue';
import { useRouter } from 'vue-router'

const router = useRouter()

const backHome = () => {
  router.push('/main')
}

</script>

<style lang="less" scoped></style>
